<template>
  <div class="box">
    <a-card :bordered="false" style="width: 100%">
      <slot slot="title">
        <a-breadcrumb>
          <a-breadcrumb-item>系统设置</a-breadcrumb-item>
          <a-breadcrumb-item>个人信息 </a-breadcrumb-item>
        </a-breadcrumb>
        <span class="title">个人信息 </span>
      </slot>
    </a-card>

    <!-- 中间个人信息 -->
    <div class="main">
      <div class="middle-top">个人信息</div>
      <div class="middle-body">
        <ul>
          <li>
            姓名
            <span style="color: red">*</span>
            <div class="middle-body-box">
              <input type="text" placeholder="请输入"/>
            </div>
          </li>
          <li>
            微信
            <span style="color: red">*</span>
            <div class="middle-body-box"><input type="text" placeholder="请输入"/></div>
          </li>
          <li>
           电话
            <span style="color: red">*</span>
            <div class="middle-body-box"><input type="text" placeholder="请输入"/></div>
          </li>
          <li>
            QQ
            <span style="color: red">*</span>
            <div class="middle-body-box"><input type="text" placeholder="请输入"/></div>
          </li>
          <li>
            邮箱
            <div class="middle-body-box"><input type="text" placeholder="请输入"/></div>
          </li>
        </ul>
      </div>
    </div>

    <!-- 账户信息 -->
    <div class="footer">
    <div class="footer-top">账户信息</div>
    
    <a-form :layout="formLayout" class="formLayout">
    <a-form-item
      :label-col="formItemLayout.labelCol"
      :wrapper-col="formItemLayout.wrapperCol"
    >
    </a-form-item>
    <a-form-item label="账户"
      :label-col="formItemLayout.labelCol"
      :wrapper-col="formItemLayout.wrapperCol"
    >
      <a-input placeholder="请输入密码" />
    </a-form-item>
    <a-form-item
      label="密码"
      :label-col="formItemLayout.labelCol"
      :wrapper-col="formItemLayout.wrapperCol"
    >
      <a-input placeholder="请输入密码" />
    </a-form-item>
    <a-form-item :wrapper-col="buttonItemLayout.wrapperCol">
      <a-button type="primary">提交</a-button>
    </a-form-item>
  </a-form>
  </div>

  </div>

</template>

<script>
export default {
  name: 'PersonalDetails',

  data() {
    return {
         formLayout: 'horizontal',

    };
  },

  mounted() {

  },
  computed: {
    formItemLayout() {
      const { formLayout } = this;
      return formLayout === 'horizontal'
        ? {
            labelCol: { span: 4 },
            wrapperCol: { span: 14 },
          }
        : {};
    },
    buttonItemLayout() {
      const { formLayout } = this;
      return formLayout === 'horizontal'
        ? {
            wrapperCol: { span: 14, offset: 4 },
          }
        : {};
    },
  },

  methods: {
     handleFormLayoutChange(e) {
      this.formLayout = e.target.value;
    },

  },
};
</script>

<style lang="less" scoped>
.box {
  width: 1136px;
}
::v-deep .ant-input {
  width: 48%;
  margin-left: 8px;
}

.title {
  color: rgba(0, 0, 0, 0.8);
  font: 700 20px "微软雅黑";
  box-sizing: border-box;
}
::v-deep .ant-breadcrumb {
  margin-bottom: 10px;
}

// 中间编辑部份
    .main {
        margin-top: 20px;
        width: 1136px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-family: 'MalayalamMN', 'Malayalam MN', sans-serif;
        font-weight: 400;
        font-style: normal;
        text-align: left;
        background-color: rgba(255, 255, 255, 1);
        border-color: rgba(233, 233, 233, 1);
        border-width: 1px;
        border-style: solid;
        color: #333333;
        line-height: normal;
        text-transform: none;

        .middle-top {
            border-width: 0px;
            width: 96px;
            height: 60px;
            font-family: 'PingFangSC-Medium', 'PingFang SC Medium', 'PingFang SC', sans-serif;
            font-weight: 500;
            font-style: normal;
            font-size: 16px;
            color: rgba(0, 0, 0, 0.847058823529412);
            line-height: 28px;
            padding: 16px 0px 16px 32px;
        }

        .middle-body {
            display: flex;
            justify-content: center;
            align-content: center;
            top: 60px;
            width: 1136px;
            font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
            font-weight: 400;
            font-style: normal;
            text-align: right;
            font-size: 14px;
            margin-bottom: 50px;

            ul {
                text-align: right;
                margin-right: 0;
            }


            li {
                display: flex;
                margin: 25px 0 25px 0;
                align-items: center;
                justify-content: right;
            }
             }

            .middle-body-box {
                margin-left: 30px;
                border-width: 0px;
                width: 340px;
                height: 32px;
                font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
                font-weight: 400;
                font-style: normal;
                font-size: 12px;
                border-color: rgba(0, 0, 0, 0.149019607843137);
                text-align: left;
                line-height: 22px;
                border: 1px solid #eee;

                select {
                    width: 338px;
                    height: 30px;
                    outline-color: rgba(24, 144, 255, 1);
                }

                input {
                    width: 338px;
                    height: 30px;
                    outline-color: rgba(24, 144, 255, 1);
                    color: #eee;
                    padding-left: 10px;
                }

        }
    }
    .footer{
       margin-top: 20px;
        width: 1136px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-family: 'MalayalamMN', 'Malayalam MN', sans-serif;
        font-weight: 400;
        font-style: normal;
        text-align: left;
        background-color: rgba(255, 255, 255, 1);
        border-color: rgba(233, 233, 233, 1);
        border-width: 1px;
        border-style: solid;
        color: #333333;
        line-height: normal;
        text-transform: none;
        .footer-top {
            border-width: 0px;
            width: 96px;
            height: 60px;
            font-family: 'PingFangSC-Medium', 'PingFang SC Medium', 'PingFang SC', sans-serif;
            font-weight: 500;
            font-style: normal;
            font-size: 16px;
            color: rgba(0, 0, 0, 0.847058823529412);
            line-height: 28px;
            padding: 16px 0px 16px 32px;
        }

    }
    .formLayout{
       margin-left: 280px;
       ::v-deep .ant-input {
           width: 338px;
           height: 30px;
           outline-color: rgba(24, 144, 255, 1);
           border-radius: none;

}

    }
</style>